<header class="page-header ">
    <div class="limit-wrapper">
        <h1>
            {if $top_sentence->title!=""}
            <span class="title">{$top_sentence->title}</span>
            {/if}
            {if $top_sentence->content!=""}
            <span class="desc {if $top_sentence->title==""} no_borderleft {/if}">{$top_sentence->content}</span>
            {/if}
            {* Edit this area *}
            {permissions level=$smarty.const.UILEVEL_PERMISSIONS}
                {if $permissions.edit == 1}
                    <a href="{link action=edit id=$ref_loc}" class="edit_topsentence"><img src="{$smarty.const.ICON_RELATIVE}edit.png" title="Edit top sentence"></a>
                {/if}
            {/permissions}
        </h1>
        <span class="spacer"></span>
    </div>
</header>